<template>
    <a-fakeimg :width="800" :height="400" :color="color" @click="test"></a-fakeimg>
</template>

<style lang="scss" scoped>
</style>

<script>
export default {
    hidden: true,
    data() {
        return {
            color: 'red'
        }
    },
    methods: {
        test() {
            this.color = this.color == 'red' ? 'blue' : 'red'
        }
    }
}
</script>